#ifndef DEFINES_H
#define DEFINES_H
#include <QString>

void setMainWindowTitle(const QString& s);

class MainWindow;

extern MainWindow* g_mainWindow;
extern QString g_username;

extern enum SessionEnum {
    STUDENT_SESSION,
    PROCTOR_SESSION,
    TEACHER_SESSION
} g_currentSession;

enum ViewsEnum {
    SIGN_IN_VIEW,
//    ADMIN_PROCTORS_VIEW,
//    ADMIN_STUDENTS_VIEW,
//    PROCTOR_STUDENT_LIST_VIEW,
//    PROCTOR_STUDENT_VIEW,
//    PROCTOR_TEST_INFO_VIEW,
//    STUDENT_COURSES_VIEW,
//    STUDENT_MARK_VIEW,
//    STUDENT_TEST_TAKING_VIEW,
//    STUDENT_TEST_VIEW,
//    TEACHER_COURSE_STUDENT_LIST_VIEW,
//    TEACHER_COURSE_VIEW,
//    TEACHER_STUDENT_VIEW,
//    TEACHER_TESTEDIT_VIEW,
//    TEACHER_TESTINFO_VIEW,
    STUDENT_LIST_VIEW,
    STUDENT_VIEW,
    TEST_INFO_VIEW,
    TEST_LIST_VIEW,
    TEST_VIEW,
    COURSE_VIEW,
    DEBUG_VIEW
};

#endif // DEFINES_H
